#ifndef __CUBE_H__
#define __CUBE_H__

#include "common.h"

/*
  center  (0,0,0)
  edge    2 unit
*/

class Cube
{
public:
  static Cube* Create();
  static void Destroy(Cube* objPtr);

  void Apply();

  GLuint GetVertexCount() const;
  GLuint GetIndexCount() const;

protected:
  Cube();
  ~Cube();

  GLuint _vtx, _nor, _idx;
  GLuint _vtxCnt, _idxCnt;
};

#endif //__CUBE_H__